<template>
  <div class="son">
    <h2>子组件</h2>
    <!-- <h4>a: {{ a }}</h4> -->
    <h4>其他: {{ $attrs }}</h4>
    <GrandChild v-bind="$attrs"/>
  </div>
</template>

<script setup lang="ts">
import GrandChild from './GrandChild.vue'
// defineProps(['a'])
</script>

<style>
  .son {
    background: skyblue;
  }
</style>